package cn.rocksolid.sport.common.http;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "rocksolid.http.host")
@ConditionalOnProperty(name = "rocksolid.http.host.enable", havingValue = "true")
public class RockSolidHttpHostConfig {

  private String agencyFrontend;

  private String umpireFrontend;

  public String getAgencyFrontend() {
    return agencyFrontend;
  }

  public void setAgencyFrontend(String agencyFrontend) {
    this.agencyFrontend = agencyFrontend;
  }

  public String getUmpireFrontend() {
    return umpireFrontend;
  }

  public void setUmpireFrontend(String umpireFrontend) {
    this.umpireFrontend = umpireFrontend;
  }
}